package com.education.basic.resource;

import java.util.Arrays;
import java.util.List;


public enum Major
{
	STGC("01","水土工程"),
	SLSDGC("02","水利水电工程"),
	HJGC("03","环境工程"),
	JXGCJZDH("04","机械工程及自动化"),
	ZZJZDH("05","制造自动化与测控技术"),
	CLGC("06","车辆工程"),
	LCYX("07","临床医学"),
	JSJKXYJS("08","计算机科学与技术"),
	JSJRJ("09","计算机软件"),
	DQGCJZDH("10","电气工程及自动化"),
	;
	
	private String code;
	private String name;
	
	public String getCode()
	{
		return code;
	}
	public void setCode(String code)
	{
		this.code = code;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	private Major(String code, String name)
	{
		this.code = code;
		this.name = name;
	}
	
	public static List<Major> queryMajor()
	{
		return Arrays.asList(Major.values());
	}
	
}
